<?php
defined('_JEXEC') or die('Restricted access');
?>
<div class="raovat-list raovat-detail">
	<?php echo $this->menu; ?>
	<div class="left-col"> 
		<h2><?php echo $this->item->title?></h2>
		<div class="article-detail"><?php echo $this->item->description;?></div>
	</div>
	<div class="right-col">
		<h2>Liên hệ</h2>
		<p>Điện thoại: <?php echo $this->item->phone;?></p>
		<p>Người đăng: <?php echo $this->item->contact;?></p>
		<?php if ($this->item->show_email){?>
		<p>Email: <?php echo $this->item->email;?></p>
		<?php }?>
	</div>
	<?php if ($this->relative){?>
	<div class="relative">
		<ul>
		<?php foreach ($this->relative as $relative){?>
		<?php echo "<li><span class='title'><a href='".JRoute::_('index.php?option=com_raovat&view=raovat&id='.$relative->id)."'>{$relative->title}</a></span></li>";?>
		<?php }?>
		</ul>
	</div>
	<?php }?>
</div>
